home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Just Call Me Internet
/
Just Call Me Internet.iso
/
prog
/
atari
/
c
/
nos042_s
/
ftp.hlp
< prev
next >
Wrap
Text File
|
1993-03-07
|
12KB
|
383 lines
{help}
The following commands are available in FTP mode:
ascii, batch, binary, cd, dir, list, get, hash, help, ls, mget, mkdir
mput, nlst, quit, rmdir, put, type, verbose, view, pager.
To get more help on any of these commands type 'help <command>'
{ascii}
ASCII
USAGE
ASCII
DESCRIPTION
This command selects ASCII file transfer mode - it is equivalent to
typing 'TYPE ASCII'.
EXAMPLES
ASCII (Select Ascii file transfer format)
{batch}
BATCH
USAGE
BATCH [ON|OFF]
DESCRIPTION
This command will set or display the command batching flag.
EXAMPLES
BATCH ON (Sets the batching flag)
BATCH (Displays the batching flag)
{binary}
BINARY
USAGE
BINARY
DESCRIPTION
This command selects BINARY file transfer mode - it is equivalent to
typing 'TYPE BINARY', or 'TYPE IMAGE'
EXAMPLES
BINARY (Select Binary file transfer format)
{cd}
CD
USAGE
CD <pathname>
DESCRIPTION
This command changes the current directory on the FTP server.
Use UNIX type path descriptions, eg pub/msdos, rather than MSDOS
path descriptions, eg pub\msdos. Also note that CD is normally
case sensitive, unlike MSDOS which is case insensitive - ie MSDos
is NOT the same as msdos.
EXAMPLES
CD pub (Change to the pub subdirectory of the current directory)
CD .. (Move one level out of the directory tree)
CD pub/gif (Change to the gif subdirectory of the pub directory).
{dir}
DIR
USAGE
DIR [<pathname> [<localfile>]]
DESCRIPTION
DIR will display the directory listing of a specified path. You can
also specify a filename mask to search for. If you don't specify a
path, the current directory will be displayed. If you don't specify
a filename mask, '*' will be used. Note, paths and filenames are
often case sensitive.
If you specify a second parameter, DIR will save the directory listing
in a file on your local disk.
DIR is synonymous with LIST.
EXAMPLES
DIR (display all the files in the current directory)
DIR *.zip (display all the files in the current directory which
end with '.zip')
DIR pub (display all the files in the pub subdirectory of the
current directory)
DIR * dirlist (store a directory listing of all the files in the
current directory in a file 'dirlist' on your
local disk)
{list}
LIST
USAGE
LIST [<pathname> [<localfile>]]
DESCRIPTION
LIST will display the directory listing of a specified path. You can
also specify a filename mask to search for. If you don't specify a
path, the current directory will be displayed. If you don't specify
a filename mask, '*' will be used. Note, paths and filenames are
often case sensitive.
If you specify a second parameter, LIST will save the directory listing
in a file on your local disk.
LIST is synonymous with DIR.
EXAMPLES
LIST (display all the files in the current directory)
LIST *.zip (display all the files in the current directory which
end with '.zip')
LIST pub (display all the files in the pub subdirectory of the
current directory)
LIST * dirlist (store a directory listing of all the files in the
current directory in a file 'dirlist' on your
local disk)
{get}
GET
USAGE
GET <remote file> [<local file>]
DESCRIPTION
Get retrieves a file from the remote system, and stores it on your
disk. If the 'local file' parameter isn't given then the file will
be stored using the remote filename. Otherwise the file will
be stored using the specified local filename.
Path specifications can be given in either of the remote or local
file names, but should match either the remote or local file name
requirements (eg '/' and case sensitivity).
EXAMPLES
GET readme (retrieve the file 'readme' from the current directory
on the remote system, and save it to 'readme' in the
current directory on the local system).
GET pub/index ftpdir/index1 (retrieve the index file from the 'pub'
subdirectory on the remote system, and store it as
'index1' in the 'ftpdir' subdirectory on the local
system).
{hash}
HASH
USAGE
HASH
DESCRIPTION
HASH is a synonym for 'VERBOSE 3'. This will display all memesages
resulting from communication between the local and remote systems,
and will display a hash mark ('#') for every 1000 bytes which are
sent or received
USAGE
HASH
{ls}
LS
USAGE
LS [<pathname> [<localfile>]]
DESCRIPTION
LS will display the directory listing of a specified path. You can
also specify a filename mask to search for. If you don't specify a
path, the current directory will be displayed. If you don't specify
a filename mask, '*' will be used. Note, paths and filenames are
often case sensitive.
If you specify a second parameter, LS will save the directory listing
in a file on your local disk.
LS is similar to DIR, but it only displays the file names, without
all the supplementary data.
LS is synonymous with NLST.
EXAMPLES
LS (display all the files in the current directory)
LS * dirlist (store a directory listing of all the files in the
current directory in a file 'dirlist' on your
local disk)
{mget}
MGET
USAGE
MGET <file1> [<file> ....]
DESCRIPTION
MGET will get a collection of files from the remote system. File names
may include wildcards which will be expanded into a list of files by
the remote server.
Files will be stored on the local system using the same names that
they had on the server.
EXAMPLES
MGET readme index (Get the 'readme' and 'index' files from the
remote system, storing them as 'readme' and
'index' on the local system)
MGET * (Get all files from the current directory on the
remote system, storing them on the local system
using the same names)
{mkdir}
MKDIR
USAGE
MKDIR <remote directory>
DESCRIPTION
MKDIR will create a new directory on the remote system. You need
write access to the remote system to be able to do this.
EXAMPLES
MKDIR mydir (create a new subdirectory called 'mydir' on the
remote system).
{mput}
MPUT
USAGE
MPUT <file1> [<file> ....]
DESCRIPTION
MPUT will send a collection of files to the remote system. File names
may include wildcards which will be expanded into a list of files by
the local system.
Files will be stored on the remote system using the same names that
they had locally.
EXAMPLES
MPUT readme index (Send the 'readme' and 'index' files to the
remote system, storing them as 'readme' and
'index' on the remote system)
MPUT * (Get all files from the current directory on the
local system, storing them on the remote server
using the same names)
{nlst}
NLST
USAGE
NLST [<pathname> [<localfile>]]
DESCRIPTION
NLST will display the directory listing of a specified path. You can
also specify a filename mask to search for. If you don't specify a
path, the current directory will be displayed. If you don't specify
a filename mask, '*' will be used. Note, paths and filenames are
often case sensitive.
If you specify a second parameter, NLST will save the directory
listing in a file on your local disk.
NLST is similar to DIR, but it only displays the file names, without
all the supplementary data.
NLST is synonymous with LS.
EXAMPLES
NLST (display all the files in the current directory)
NLST * dirlist (store a directory listing of all the files in the
current directory in a file 'dirlist' on your
local disk)
{quit}
QUIT
USAGE
QUIT
DESCRIPTION
QUIT finishes the FTP server session.
EXAMPLES
QUIT
{rmdir}
RMDIR
USAGE
RMDIR
DESCRIPTION
RMDIR will delete a directory on the remote server. To use this
command you need delete access to the remote system.
EXAMPLES
RMDIR mydir (this will delete the 'mydir' directory from the
remote system).
{put}
PUT
USAGE
PUT <local file> [<remote file>]
DESCRIPTION
PUT will send a file from the local system to the remote server.
If there are two parameters, the second parameter will specify the
name on the remote system, otherwise it will be given the name of
the first parameter.
EXAMPLES
PUT newfile (send the file 'newfile' to the remote system,
storing it in the current directory with the name
'newfile')
PUT newfile thisfile (send the file 'newfile' to the remote system,
storing it in the current directory with the
name 'thisfile')
{type}
TYPE
USAGE
TYPE [a | i | b | l <bytesize>]
DESCRIPTION
TYPE tells both the remote and local systems the type of file that
is to be transfered. The default is 'A' - 'ASCII' (or text file).
TYPEs 'b' and 'i' are synonymous and mean 'Binary' or 'Image'.
Image transfers should be used when transferring executable files,
or compressed files.
TYPE 'l' is for 'logical byte size' when exchanging binary files with
remote servers that use a non-standard word size.
EXAMPLES
TYPE A (all future transfers are to use ASCII mode)
TYPE (display the current transfer mode)
{verbose}
VERBOSE
USAGE
VERBOSE [0 | 1 | 2 | 3]
DESCRIPTION
Verbose sets or displays the level of message output during file
transfers as follows:
0 -Display error messages only,
1 -Display error messages, plus a one line summary after transfers
2 -Display error and summary messages plus progress messages generated
by the server. (This is the default),
3 -Display all messages - also display a '#' character for every 1000
characters that are sent or received.
EXAMPLES
VERBOSE (display the current verbose setting)
VERBOSE 0 (only display error messages)
{view}
VIEW
USAGE
VIEW <remote file>
DESCRIPTION
VIEW will allow you to view a text file which is on the remote system
without downloading it first. This can be useful for 'readme' type
files, where you want to read the file before carrying on with the
ftp work.
EXAMPLES
VIEW readme.ftp (display the 'readme.ftp' file on the remote server)
{pager}
PAGER
USAGE
PAGER [on|off]
DESCRIPTION
PAGER will set or display the session page mode. When the page mode
is on, all displays will be paused after 24 lines to let you view
them before pressing a key to continue.
EXAMPLES
PAGER (display the current setting of the page mode)
PAGER on (turn the page mode on for the current FTP session)